package com.tongji.showroom.vo
{
	import flash.display.BitmapData;
	import flash.geom.Point;
	
	import mx.collections.ArrayCollection;

	/**
	 * 
	 * @author frank
	 * 2011/09/02
	 */
	public class SavePicture
	{
		//public var savePictureBitmapData:BitmapData;
		public var savePictureSource:String;
		public var pictureID:Number;
		public var points:ArrayCollection = new ArrayCollection();
		public var sceneAngleID:Number;
		public var point:Point = new Point();//在父容器中的位置
		
		public function SavePicture()
		{
			
		}
		public function setPoints(P0x,P0y,P1x,P1y,P2x,P2y,P3x,P3y,P4x,P4y,P5x,P5y,P6x,P6y,P7x,P7y):void
		{
			var point:Point = new Point();
			point.x = P0x;
			point.y = P0y;
			points.addItem(point);
			point.x = P1x;
			point.y = P1y;
			points.addItem(point);
			point.x = P2x;
			point.y = P2y;
			points.addItem(point);
			point.x = P3x;
			point.y = P3y;
			points.addItem(point);
			point.x = P4x;
			point.y = P4y;
			points.addItem(point);
			point.x = P5x;
			point.y = P5y;
			points.addItem(point);
			point.x = P6x;
			point.y = P6y;
			points.addItem(point);
			point.x = P7x;
			point.y = P7y;
			points.addItem(point);
		}
	}
}